﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Net.Mime.MediaTypeNames;

namespace Nes.Core
{
    public class Utils
    {
        public static Byte[] ReadFile(String path)
        {
            using (var reader = File.OpenRead(path))
            {
                var buff = new Byte[reader.Length];
                reader.Read(buff, 0, buff.Length);
                return buff;
            }
        }
    }
}
